// Copyright 2023 Specter Ops, Inc.
//
// Licensed under the Apache License, Version 2.0
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// SPDX-License-Identifier: Apache-2.0

.MuiAccordionSummary-expandIcon {
    order: -1;
    margin: 0;
    padding: 0;
}

.MuiAccordion-root,
.MuiAccordion-root.Mui-expanded,
.MuiAccordion-root.Mui-expanded:first-child {
    box-shadow: none;
    border-radius: 0;
}

.MuiAccordion-root .MuiAccordion-root,
.MuiAccordion-root.Mui-expanded .MuiAccordion-root.Mui-expanded {
    border-bottom: none;
}

.MuiAccordion-root:before {
    top: auto;
    content: none;
}
.MuiAccordion-root .MuiPaper-elevation1,
.MuiAccordion-root.Mui-expanded .MuiPaper-elevation1,
.MuiAccordion-root.MuiAccordion-rounded:last-child,
.MuiAccordion-root.Mui-expanded.MuiAccordion-rounded:last-child {
    box-shadow: none;
    border-radius: 0;
}

.MuiAccordionSummary-root,
.MuiAccordionSummary-root.Mui-expanded {
    min-height: auto;
}

.MuiAccordionDetails-root {
    display: block;
}

.accordion-summary {
    .MuiAccordionSummary-content,
    .MuiAccordionSummary-content.Mui-expanded {
        margin: 0;
        padding: 0;
    }
}
